package com.gary.demo;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.web.servlet.ServletComponentScan;

@tk.mybatis.spring.annotation.MapperScan(basePackages = "com.gary.demo.mapper")
@SpringBootApplication
//https://blog.lqdev.cn/2018/07/19/springboot/chapter-seven/
@ServletComponentScan
public class DemoApplication {


    public static void main(String[] args) {
        SpringApplication.run(DemoApplication.class, args);
    }
}
